FROM ecp/ubuntu:16.04-nodejs
MAINTAINER kinven xqw2@163.com



# use build shell 
COPY ./build /root/DOClever
#RUN git clone -b dev https://github.com/kanlidy/DOClever.git /root/DOClever

EXPOSE 10000

COPY ./entrypoint.sh /entrypoint.sh

# install forever
RUN mkdir -p /root/DOClever/data/file \ 
    && mkdir -p /root/DOClever/data/img \
    && mkdir -p /root/DOClever/data/tmp \
    && chmod +x /entrypoint.sh 

ENTRYPOINT ["/entrypoint.sh"]
